<?php
namespace app\admin\controller\welfare;

use app\Request;
use app\admin\controller\AuthController;
use learn\services\UtilService as Util;


use app\admin\model\user\UserDefinite;


class Small extends AuthController
{

    protected $noNeedLogin = ['index'];

    /**
     * 首页
     */
    public function index ()
    {
        return $this->fetch();
    }

    /**
     * 获取列表
     */
    public function lst ()
    {
        $where = Util::postMore([
            ['phone',''],
            ['start_time',''],
            ['end_time',''],
            ['page',1],
            ['limit',20],
        ]);
        return app("json")->layui(UserDefinite::signPage($where));
    }
}
